import request from '@/utils/request'

// 查询人口分布列表
export function listPopulationDistribution(query) {
  return request({
    url: '/ybyj/populationDistribution/list',
    method: 'get',
    params: query
  })
}

// 查询人口分布详细
export function getPopulationDistribution(id) {
  return request({
    url: '/ybyj/populationDistribution/' + id,
    method: 'get'
  })
}

// 新增人口分布
export function addPopulationDistribution(data) {
  return request({
    url: '/ybyj/populationDistribution',
    method: 'post',
    data: data
  })
}

// 修改人口分布
export function updatePopulationDistribution(data) {
  return request({
    url: '/ybyj/populationDistribution',
    method: 'put',
    data: data
  })
}

// 删除人口分布
export function delPopulationDistribution(id) {
  return request({
    url: '/ybyj/populationDistribution/' + id,
    method: 'delete'
  })
}


